package tum0r.utils;

/**
 * 工程: FileSync<br>
 * 包: tum0r.utils<br>
 * 创建者: tum0r<br>
 * 创建时间: 2021/6/17 09:44<br>
 * <br>
 */
public class StringExtension {
    public static boolean isNull(String text) {
        return text == null;
    }

    public static boolean isNotNull(String text) {
        return !isNull(text);
    }

    public static boolean isNullOrEmpty(String text) {
        return isNull(text) || text.equals("");
    }

    public static boolean isNotNullOrEmpty(String text) {
        return !isNullOrEmpty(text);
    }
}
